package io.qar.suppliers.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 供应商表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 3.0 2024-06-10
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class SuppliersExcel {
    @ExcelProperty(value = "供应商名称", index = 0)
    private String name;
    @ExcelProperty(value = "联系人姓名", index = 1)
    private String contactName;
    @ExcelProperty(value = "供应商电子邮件", index = 2)
    private String email;
    @ExcelProperty(value = "联系电话", index = 3)
    private String phone;
    @ExcelProperty(value = "供应商地址", index = 4)
    private String address;
    @ExcelProperty(value = "城市", index = 5)
    private String city;
    @ExcelProperty(value = "州/省", index = 6)
    private String state;
    @ExcelProperty(value = "邮政编码", index = 7)
    private String postalCode;
    @ExcelProperty(value = "国家", index = 8)
    private String country;
    @ExcelProperty(value = "信用额度", index = 9)
    private BigDecimal creditLimit;
    @ExcelProperty(value = "供应商状态", index = 10)
    private Object status;
    @ExcelProperty(value = "创建时间", index = 11)
    private Date createdAt;
    @ExcelProperty(value = "更新时间", index = 12)
    private Date updatedAt;
}